package com.goscom.app.deeset;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Administration extends Activity {

	private String strMerId = "";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.administration);

		getMerId();
	}

	public void getMerId() {
		try {
			strMerId = getIntent().getStringExtra("merid");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public void Logout(View v) {
		startActivity(new Intent(Administration.this, Login.class));
	}

	public void goPrevious(View v) {
		Intent intent = new Intent(Administration.this, StoreInduction.class);
		intent.putExtra("merid", strMerId);
		intent.putExtra("activity", "manual");
		startActivity(intent);
	}

	public void goNext(View v) {
		startActivity(new Intent(Administration.this, BankDetails.class).putExtra("merid",
				strMerId));
	}
}
